﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>在线调查 - {config.webname}</title>
<link type="text/css" rel="stylesheet" href="{config.webpath}css/pagination.css" />
<link type="text/css" rel="stylesheet" href="{config.webpath}scripts/artdialog/ui-dialog.css" />
<script type="text/javascript" src="{config.webpath}scripts/jquery/jquery-1.11.2.min.js"></script>
<script type="text/javascript" src="{config.webpath}scripts/artdialog/dialog-plus-min.js"></script>
<link href="<%templateskin="EducationBureauRed"%>/css/index1.css" rel="stylesheet" type="text/css" />
<link href="<%templateskin="EducationBureauRed"%>/css/main.css" rel="stylesheet" type="text/css" />
<link href="<%templateskin="EducationBureauRed"%>/css/main1.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" charset="utf-8" src="<%templateskin="EducationBureauRed"%>/js/common.js"></script>
<script type="text/javascript" charset="utf-8" src="<%templateskin="EducationBureauRed"%>/js/login-validate.js"></script>
    <link href="<%templateskin%>/css/vote.css" rel="stylesheet" type="text/css" />
</head>

<body >
<!--头部模版-->
<%template skin="EducationBureauRed" src="header.html"%>
    <div class="bodyyangshi">
<div  id="main" style=" height:900px;background:white;margin-top:0px;">

<div>
    <div style="height:17px;float:left;overflow:hidden;margin:10px;"><img src="<%templateskin="EducationBureauRed"%>/image/vote_bg.gif" /style="height:150px;width:16px;"></div>
<div style="height:40px;"><h1 style="font-size:16px;color:#f66c09;margin-left:10px;padding-top:8px;">投票主题</h1></div>
<hr /style="width:650px;float:left;">
  <ul class="news2" style="width:650px;float:left;">
    <%set DataTable voteList=get_list(10, page, "site_path='"+site.build_path+"'", out totalcount)%>
    <%set string pagelist=get_page_link(10, page, totalcount, "vote_list", "__id__")%>
    <%foreach(DataRow dr in voteList.Rows)%>
    <li style="margin-top:15px;margin-left:20px;"><a id="n1" href="<%linkurl("vote_post",{dr[id]})%>">{dr[title]}</a> <a id="n2">{dr[add_time]}</a></li>
    <%/foreach%>
  </ul>
    <div style="width:300px;height:auto;border:1px solid;float:right;margin-right:20px;"><div style="width:279px;padding: 10px;color: #1e50a2;font-size: 16px;background:url(<%templateskin="EducationBureauRed"%>/image/title.png) no-repeat"><strong style="color: #f66c09;">热门投票</strong></div>
    <ul>
        <%set DataTable votermList=get_list(10, page, "site_path='"+site.build_path+"'", out totalcount)%>
        
        <%foreach(DataRow rmdr in votermList.Rows)%>
        <li style="margin-left:10px;"><a href="<%linkurl("vote_post",{rmdr[id]})%>">{rmdr[title]}</a></li>
        <%/foreach%>
     </ul>
    </div>
</div>

<!--放置页码-->
<div class="flickr">{pagelist}</div>
<!--/放置页码-->
<div style=" clear:both;"></div>
</div>

 <!--Footer-->
<%template skin="EducationBureauRed" src="footer.html"%>
<!--/Footer-->
</div>
</body>
</html>
